package com.lagou;

import com.lagou.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class HelloClient {
    @Reference(timeout = 3000, retries = 0)
    private HelloService helloService;

    public int methodA() {
        return helloService.methodA();
    }

    public int methodB() {
        return helloService.methodB();
    }

    public int methodC() {
        return helloService.methodC();
    }
}
